import Vue from 'vue'
import App from './App.vue'
import './registerServiceWorker'
import router from './router'
import store from './store'

Vue.config.productionTip = false

Vue.filter("handleStr",(val)=>{
  if(val.length>4){
    return val.slice(0,4)+"..."
  }
  return val
})

new Vue({ 
  router,
  store,
  render: h => h(App)
}).$mount('#app')
